<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="../css/mui.picker.css"/>
		<link rel="stylesheet" type="text/css" href="../css/mui.poppicker.css"/>
		<link rel="stylesheet" type="text/css" href="../css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="../css/business/maintain.css"/>
		<script src="../js/validate.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<div class="mui-content" id="equip-maintain-content" v-clock>
			<header class="mui-bar mui-bar-nav" id="myheader">
				<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
				<h1 class="mui-title">固定资产送修</h1>
			</header>
			<div class="mui-scroll-wrapper" style="-webkit-overflow-scrolling: touch;margin-top: 55px;background-color: #EFEFF4;">
				<div class="mui-scroll">
					<div class="mui-content" id="equip-maintain-wrapper"  >
						<div class="info-top-box">
							<div class="box-header-wrapper">
								<span class="box-header" id="equip-header">资产信息</span>
							</div>
							<div class="equip-info-box" v-show="!showEquipmentDetail">
								<div class="equip-info-item">
									<span class="equip-info-txt">资产编号:</span>
									<span class="equip-info-value">{{zcbh}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">设备类型:</span>
									<span class="equip-info-value">{{type}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">所属部门:</span>
									<span class="equip-info-value">{{depart}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">使用人:</span>
									<span class="equip-info-value">{{user}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">联系方式:</span>
									<span class="equip-info-value">{{contact}}</span>
								</div>
								<div class="equip-info-item" @tap="showInfoDetail(true)">
									<span>展开</span>
									<span class="mui-icon iconfont icon-xiasanjiaoxing"></span>
								</div>
							</div>
							<div class="equip-info-fold-wrapper" v-show="showEquipmentDetail">
								<div class="equip-info-item">
									<span class="equip-info-txt">资产编号:</span>
									<span class="equip-info-value">{{zcbh}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">条码编号:</span>
									<span class="equip-info-value">{{tmbh}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">制衣办编号:</span>
									<span class="equip-info-value">{{zybbh}}</span>
								</div>
								<div class="split-line"></div>
								<div class="equip-info-item">
									<span class="equip-info-txt">设备类型:</span>
									<span class="equip-info-value">{{type}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">设备名称:</span>
									<span class="equip-info-value">{{name}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">品牌或厂商:</span>
									<span class="equip-info-value">{{vendor}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">型号:</span>
									<span class="equip-info-value">{{model}}</span>
								</div>
								<div class="split-line"></div>
								<div class="equip-info-item">
									<span class="equip-info-txt">部门:</span>
									<span class="equip-info-value">{{depart}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">车间:</span>
									<span class="equip-info-value">{{workshop}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">使用人:</span>
									<span class="equip-info-value">{{user}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">联系方式:</span>
									<span class="equip-info-value">{{contact}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">存放地点:</span>
									<span class="equip-info-value">{{location}}</span>
								</div>
								<div class="equip-info-item auto-height">
									<span class="equip-info-txt">备注:</span>
									<span class="equip-info-value">{{note}}</span>
								</div>
								<div class="split-line"></div>
								<div class="equip-info-item">
									<span class="equip-info-txt">录入人:</span>
									<span class="equip-info-value">{{recorder}}</span>
								</div>
								<div class="equip-info-item">
									<span class="equip-info-txt">录入时间:</span>
									<span class="equip-info-value">{{putindate}}</span>
								</div>
								<div class="equip-info-item" @tap="showInfoDetail(false)">
									<span class="equip-info-txt">收起</span>
								</div>
							</div>
						</div>
						
						<div class="box-header-wrapper">
							<span class="box-header" id="equip-header">维修信息</span>
						</div>
						<div class="equip-maintain-top-box">
							<div class="equip-maintain-item">
								<label class="must-have-value">状态：</label>
								<div>
									<!-- <span style="font-size: 14px;">{{state}}</span> -->
									<input type="text" :placeholder="stateError"  style="width: 200px;" v-model="stateM" readonly="readonly">
									<span class="mui-icon iconfont icon-jiantou_you" @tap="stateTypePicker"></span>
								</div>
							</div>
							<div class="equip-maintain-item">
								<label class="must-have-value">鉴定人：</label>
								<!-- <div>
									<input type="text" :placeholder="surveyorError" style="width: 200px;" v-model="surveyor" readonly="readonly">
									<span class="mui-icon iconfont icon-jiantou_you" @tap="surveyorTypePicker"></span>
								</div> -->
								<input type="text" :placeholder="surveyorError" v-model="surveyor">
							</div>
						</div>
						<div class="equip-maintain-bottom-box">
							<div class="equip-maintain-item">
								<label class="must-have-value">联系人：</label>
								<input type="text" :placeholder="thecontactError" v-model="thecontact" :readonly="readOnly">
							</div>
							<div class="equip-maintain-item">
								<label class="must-have-value">联系电话：</label>
								<input type="text" :placeholder="contactError" v-model="contactM" :readonly="readOnly">
							</div>
							<div class="equip-maintain-item" v-show="showMaintainDate">
								<label>上报日期：</label>
								<input type="text"  v-model="recorddateM" :readonly="readOnly">
							</div>
							<div class="equip-maintain-item">
								<label>故障描述：</label>
								<div>
									<textarea rows="3" cols="27" :placeholder="descError" v-model="descM" :readonly="readOnly"></textarea>
								</div>
							</div>
						</div>
						<button type="button" class="mui-btn mui-btn-blue maintain-button" @tap="submitMaintain">{{submitTxt}}</button>
					</div>
				</div>
			</div>
			
			
		</div>
	</body>
	<script src="../js/mui.js"></script>
	<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	<script src="../config.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/mui.picker.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/mui.poppicker.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/business/maintain.js" type="text/javascript" charset="utf-8"></script>
</html>
